package com.example.devtool.generate.controller.request;

import com.example.devtool.core.common.BaseRequest;
import lombok.Data;
import java.io.Serial;
import java.util.List;

/**
 * @author zhuliangxuan
 * @date 2022/5/22 21:01
 * 自动生成请求类
 */
@Data
public class GenerateRequest extends BaseRequest {
    @Serial
    private static final long serialVersionUID = -528520117039674622L;

    /**
     * 生成类型，比如 mybatis/jpa
     */
    private Integer type;

    private String jdbcUrl;

    private String username;

    private String password;

    private String author;

    private boolean swagger;

    private String projectDir;

    private String parent;

    private String moduleName;

    private String mapperDir;

    private boolean includeMode = true;

    private boolean excludeMode;

    private List<String> includeList;

    private List<String> excludeList;

    private List<String> tablePrefix;

    private List<String> tableSuffix;
}
